package com.techysky.service;

import java.io.Serializable;
import java.util.List;

import javax.servlet.http.HttpServletRequest;

import com.techysky.entity.PublicModule;

/**
 * 树的初始化加载(目前只针对项目和产品结构树)
 * @author nichao
 *
 */
public interface TreeService extends Serializable {

	/**
	 * 初始化
	 * @param model 
	 * @param request
	 * @return
	 */
	Object initTree(String model, HttpServletRequest request);
	Object initTree(String model,String fitName,String type, HttpServletRequest request);
	/**
	 * 下级树
	 * @param model 
	 * @param request
	 * @return
	 */
	Object getChildrenTrees(HttpServletRequest request);
	/**
	 * 获取某一pmID下所有的dm
	 */
	public List<PublicModule> getAllDm(String parentid);
}
